package com.example.demo.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @description：分页查询接口入参.
 * @author：lw
 * @create_time：2024/1/4
 **/

@Schema(description = "分页查询接口入参")
@Data
public class PageDto<T> {
    @Schema(description = "当前页码",defaultValue = "1")
    private Integer current=1;
    @Schema(description = "页尺寸",defaultValue = "20")
    private Integer size=20;
    @Schema(description = "查询条件")
    private T cdt;
}
